@{
    ViewData["Title"] = "会员表";
}

<div class="place">
    <span>位置：</span>
    <ul class="placeul">
        <li><a href="#">首页</a></li>
        <li><a href="#">会员表</a></li>
    </ul>
</div>

<div class="formbody">
    <div id="usual1" class="usual">
        <form id="formQuery" action="" method="post">
            <ul class="seachform1">
                <li>
                    <label> 推荐人id：</label>
                    <input type="text" id="conRecommUserid" name="RecommUserid" class="scinput1" placeholder="请输入推荐人id" value="" />
                </li>

                <li>
                    <label> 推荐码：</label>
                    <input type="text" id="conInviteCode" name="InviteCode" class="scinput1" placeholder="请输入推荐码" value="" />
                </li>

                <li>
                    <label> 手机号码：</label>
                    <input type="text" id="conMobile" name="Mobile" class="scinput1" placeholder="请输入手机号码" value="" />
                </li>

                <li>
                    <label> 微信号：</label>
                    <input type="text" id="conWeixin" name="Weixin" class="scinput1" placeholder="请输入微信号" value="" />
                </li>

                <li>
                    <label> 姓名：</label>
                    <input type="text" id="conRealname" name="Realname" class="scinput1" placeholder="请输入姓名" value="" />
                </li>

                <li>
                    <label> 初始密码：</label>
                    <input type="text" id="conPwd" name="Pwd" class="scinput1" placeholder="请输入初始密码" value="" />
                </li>

                <li>
                    <label> 会员星级：</label>
                    <input type="text" id="conStarLevel" name="StarLevel" class="scinput1" placeholder="请输入会员星级" value="" />
                </li>

                <li>
                    <label> 注册时间：</label>
                    <input type="text" id="conRegDate" name="RegDate" class="scinput1" placeholder="请输入注册时间" value="" />
                </li>

                <li>
                    <label> 上次登录时间：</label>
                    <input type="text" id="conLastLoginDate" name="LastLoginDate" class="scinput1" placeholder="请输入上次登录时间" value="" />
                </li>

                <li>
                    <label> 状态：</label>
                    <input type="text" id="conStatus" name="Status" class="scinput1" placeholder="请输入状态" value="" />
                </li>

                <li>
                    <label> 是否系统用户：</label>
                    <input type="text" id="conIsSystem" name="IsSystem" class="scinput1" placeholder="请输入是否系统用户" value="" />
                </li>

                <li>
                    <input type="hidden" id="pageindex" name="pageindex" value="1" />
                    <input type="hidden" id="pagesize" name="pagesize" value="10" />
                    <input type="button" id="btnQuery" class="scbtn" value=" 查询 " />
                    <input type="button" id="btnAdd" class="scbtn2" value="添加" />
                </li>
            </ul>
        </form>
    </div>
    <div style="clear:both"></div>
    <div id="app">
        <table class="tablelist" >
            <thead>
                <tr>
                    <th >编号</th>
                    <th>推荐人id</th>

                    <th>推荐码</th>

                    <th>手机号码</th>

                    <th>微信号</th>

                    <th>姓名</th>

                    <th>初始密码</th>

                    <th>会员星级</th>

                    <th>注册时间</th>

                    <th>上次登录时间</th>

                    <th>状态</th>

                    <th>是否系统用户</th>

                    <th>操作</th>
                </tr>
            </thead>
            <tbody>
                <tr  v-cloak :data-id="info.id"  v-for="(info, index) in listdata">
                    <td class="lft">[[info.id]]</td>
                    <td class="lft">[[info.recommUserid]]</td>
                    <td class="lft">[[info.inviteCode]]</td>
                    <td class="lft">[[info.mobile]]</td>
                    <td class="lft">[[info.weixin]]</td>
                    <td class="lft">[[info.realname]]</td>
                    <td class="lft">[[info.pwd]]</td>
                    <td class="operate">
                        <a href="javascript:;" class="btnView"  :data-id="info.id"><img src="/images/t01.png" />查看 </a>
                        <a href="javascript:;" class="btnEdit"  :data-id="info.id"><img src="/images/t02.png" />修改 </a>
                        <a href="javascript:;" class="btnDelete"  :data-id="info.id"> <img src="/images/t03.png" />删除</a>

                    </td>
                </tr>

            </tbody>
        </table>
    </div>
    <div class="pagination ue-clear"></div>

</div>

<div class="tip" id="layer-edit">
    <div class="tiptop"><span>编辑</span><a class="btnClose"></a></div>

    <div class="formtitle"><span>会员表</span></div>
    <form id="formEdit" action="" method="post">
        <table class="tblForm">
            <tbody>
            <tr>
                <td class="tdFormLeft"><label><em>* </em>推荐人id</label></td>
                <td>
                   <input type="number" id="txtRecommUserid" name="recommUserid" placeholder="请输入推荐人id" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>推荐码</label></td>
                <td>
                   <input type="text" id="txtInviteCode" name="inviteCode" placeholder="请输入推荐码" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>手机号码</label></td>
                <td>
                   <input type="text" id="txtMobile" name="mobile" placeholder="请输入手机号码" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>微信号</label></td>
                <td>
                   <input type="text" id="txtWeixin" name="weixin" placeholder="请输入微信号" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>姓名</label></td>
                <td>
                   <input type="text" id="txtRealname" name="realname" placeholder="请输入姓名" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>初始密码</label></td>
                <td>
                   <input type="text" id="txtPwd" name="pwd" placeholder="请输入初始密码" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>会员星级</label></td>
                <td>
                   <input type="number" id="txtStarLevel" name="starLevel" placeholder="请输入会员星级" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>注册时间</label></td>
                <td>
                   <input type="date" id="txtRegDate" name="regDate" placeholder="请输入注册时间" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>上次登录时间</label></td>
                <td>
                   <input type="date" id="txtLastLoginDate" name="lastLoginDate" placeholder="请输入上次登录时间" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>状态</label></td>
                <td>
                   <input type="number" id="txtStatus" name="status" placeholder="请输入状态" value="" />
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>是否系统用户</label></td>
                <td>
                   <input type="number" id="txtIsSystem" name="isSystem" placeholder="请输入是否系统用户" value="" />
                </td>
            </tr>


            </tbody>
        </table>

        <div class="btnDiv">
            <input name="id" value="0" type="hidden" />
            <input type="button" id="btnSubmit" onClick="formEditSubmit();" class="scbtn" value=" 发布 " />
        </div>
     </form>
</div>

<div class="tip" id="layer-view">
    <div class="tiptop"><span>查看</span><a class="btnClose"></a></div>

    <div class="formtitle"><span>会员表</span></div>
    <table class="tblForm">
        <tbody>
            <tr>
                <td class="tdFormLeft"><label><em>* </em>推荐人id</label></td>
                <td>
                    <span id="spnRecommUserid" name="recommUserid" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>推荐码</label></td>
                <td>
                    <span id="spnInviteCode" name="inviteCode" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>手机号码</label></td>
                <td>
                    <span id="spnMobile" name="mobile" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>微信号</label></td>
                <td>
                    <span id="spnWeixin" name="weixin" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>姓名</label></td>
                <td>
                    <span id="spnRealname" name="realname" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>初始密码</label></td>
                <td>
                    <span id="spnPwd" name="pwd" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>会员星级</label></td>
                <td>
                    <span id="spnStarLevel" name="starLevel" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>注册时间</label></td>
                <td>
                    <span id="spnRegDate" name="regDate" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>上次登录时间</label></td>
                <td>
                    <span id="spnLastLoginDate" name="lastLoginDate" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>状态</label></td>
                <td>
                    <span id="spnStatus" name="status" class="fld-value"></span>
                </td>
            </tr>

            <tr>
                <td class="tdFormLeft"><label><em>* </em>是否系统用户</label></td>
                <td>
                    <span id="spnIsSystem" name="isSystem" class="fld-value"></span>
                </td>
            </tr>


        </tbody>
    </table>

    <div class="btnDiv">
        <input type="button" class="scbtn btnClose" value=" 关闭 " />
    </div>
</div>
<script src="/viewjs/memberuser/index.js"></script>


